package edu.wuster.blog.service;

import edu.wuster.blog.entity.Blogpart;
import java.time.LocalDate;
import java.util.List;


public interface SearchService {

    List<Blogpart> selectByAuthor(String author);

    List<Blogpart> selectByLabel(String name);

    List<Blogpart> userSelectMohu(String mohu,String author);

    List<Blogpart> selectByAdmin(String title, String state, LocalDate begin, LocalDate end);

    List<Blogpart> homeSelectMohu(String title, Integer likeNum, LocalDate begin, LocalDate end);
}
